importClass(com.lai.proxy.ScriptHandler);
importClass(com.lai.proxy.AutoKV);

function stopAll(){
    com.lai.proxy.ScriptHandler.stopAll();
}
global.stopAll=stopAll
function runProject(args){
    if (args.params){
        com.lai.proxy.AutoKV.put("params", args.params)
        toastLog(args.name+"参数:"+args.params)
    }else {
        toastLog(args.name+"无参数")
    }
    com.lai.proxy.ScriptHandler.runScriptProjectByName(args.name)
}
global.runProject=runProject